import InteractiveModelBlock from "@/entities/interactiveModelBlock/ui/InteractiveModelBlock"
import { useGetLessonById } from "@/entities/lesson/model/useGetLessonById"
import { useGetModelById } from "@/entities/interactiveModelBlock/model/useGetModelById"
import { Canvas3d } from "@/shared/3d/Canvas3d"
import { InteractiveModel } from "@/shared/3d/InteractiveModel"
import { UiSpinner } from "@/shared/Uikit/UiSpinner"
import { OrbitControls } from "@react-three/drei"
import { useEffect } from "react"

export default function Preview({ params }: { params: { modelId: number } }) {
    const modelId = params.modelId
    return (
        <>
            Страница модели с id {modelId}
            <InteractiveModelBlock modelId={modelId} />

        </>
    )
}
